<template>
  <div class="demo">
    <h1 v-text="msg"></h1>
    <h2 @click="showName">游戏姓名:{{name}}</h2>
    <h2>游戏地址:{{address}}</h2>
  </div>
</template>

<script>
// import {mixin} from '../mixin'
export default {
    name:'Game',
    data(){
        return{
            msg:'兔子小姐你好',
            name:'光与夜之恋',
            address:'光启市'
        }
    },
    // mixins:[mixin]
}
</script>

<style>
    .demo{
        background-color: pink;
    }
</style>